package com.flyco.modules.cms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 商城内容历史
 * @Author: flyco
 * @Date:   2020-06-04
 * @Version: V1.0
 */
@Data
@TableName("cms_content_v1_history")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="cms_content_v1_history对象", description="商城内容历史")
public class CmsContentV1History {
    
	/**主键ID*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
	private Long id;
	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
	private Long contentId;
	/**类型*/
	@Excel(name = "类型", width = 15)
    @ApiModelProperty(value = "类型")
	private String type;
	/**终端类型(pc、wap)*/
	@Excel(name = "终端类型(pc、wap)", width = 15)
    @ApiModelProperty(value = "终端类型(pc、wap)")
	private String screen;
	/**地址*/
	@Excel(name = "地址", width = 15)
    @ApiModelProperty(value = "地址")
	private String url;
	/**内容*/
	@Excel(name = "内容", width = 15)
    @ApiModelProperty(value = "内容")
	private Object content;
	/**加载关键字*/
	@Excel(name = "加载关键字", width = 15)
	@ApiModelProperty(value = "加载关键字")
	private String loadKeywords;
	/**页面标题*/
	@Excel(name = "页面标题", width = 15)
	@ApiModelProperty(value = "页面标题")
	private String title;
	/**页面关键字*/
	@Excel(name = "页面关键字", width = 15)
	@ApiModelProperty(value = "页面关键字")
	private String keyword;
	/**页面描述*/
	@Excel(name = "页面描述", width = 15)
	@ApiModelProperty(value = "页面描述")
	private String description;
	/**业务分组(仅后台使用)*/
	@Excel(name = "业务分组(仅后台使用)", width = 15)
	@ApiModelProperty(value = "业务分组(仅后台使用)")
	private String bizType;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
}
